package com.yqd.d1_encapsulation.demo1;

public class MainTest {
    public static void main(String[] args) throws Exception {
        People people = new People();
        people.setAge(30);
        people.setName("张三");
        Circle circle = new Circle();
        circle.setRadius(-5);
        people.drawCircle(circle);
    }
}
